import Mock from 'mockjs';
import API from '@/api/authentication';
import {get,post,qs} from '../util';

// 配置 ajax 请求响应时间
Mock.setup({
    timeout:1000
});

Mock.mock(get(API.sendCode),'get',{
    code:0,
    entry:{
        msg:'验证码发送成功'
    }
});

Mock.mock(post(API.checkCode),'post',{
    code:0,
    entry:{
        msg:'验证通过'
    }
});